public class User {

  String firstname
  String lastname
  String address
  
  static mapping = {
      version false
  }
  
  static def constraints = {
    id(blank: false, unique: true)
    firstname(size: 1..50, blank: false)
    lastname(size: 1..50, blank: false)
  }
}
